from ForumLogin import ForumLogin
from ForumRegister import ForumRegister
from common.Ulitys import ForumDriver
from ForumHome import ForumHome
from PostDetails import PostDetails
from ForumDM import ForumDM
from ForumPost import ForumPost
if __name__ == '__main__':
  
    # 注册
    ForumRegister().RegisterFailTest()
    # ForumRegister().RegisterSuccTest()
    # 登录
    ForumLogin().LoginFailTest()
    ForumLogin().LoginSuccTest()
    # 主页
    ForumHome().HomeTest()
    # 帖子详情UI测试
    PostDetails().PostDetailsUITest()
    # 帖子详情功能测试
    PostDetails().PostDetailsFuncTest()
    # 私信
    ForumDM().PostDetailsDM()
    ForumDM().ReplyDM()
    
    # 帖子发布
    ForumPost().Post()
    
    
    ForumDriver.driver.quit()